/**
  nvn-data-source.h - Created by Timothy Morey on 7/18/2012
*/

#ifndef __NVN_DATA_SOURCE_H
#define __NVN_DATA_SOURCE_H

#include "data-schema.h"
#include "data-source.h"
#include "libnvn.h"

EXPORT int NvnDataSourceDisconnect(int dsid);

EXPORT int NvnDataSourceGetDatasetSchema(DataSourceDescriptor desc,
                                         DataSetSchema* schema);

EXPORT int NvnDataSourceGetGridSchema(DataSourceDescriptor desc,
                                      DataGridSchema* schema);

EXPORT int NvnDataSourceSetBasePort(int port);

EXPORT int NvnDataSourceStartStream(DataSourceDescriptor desc,
                                    DataFrameCallback callback,
                                    int* dsid);

#endif
